/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package locales;

import java.io.IOException;

/**
 *
 * @author jorgequinterodriguez
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        // TODO code application logic here
        Local local1 = new Local("calle Barcelona");
        Reserva reserva = local1.altaReserva();



        System.out.println("tamaño igual a " + local1.tamañoListaReservas());


        reserva.bajaReserva();

        System.out.println("tamaño igual a " + local1.tamañoListaReservas());

        local1.altaReserva();
        reserva.modificarReserva();
        


    }

}
